
        $('.connexion').click(function(event){
    event.preventDefault();
        
                alert('test');
                $( "#dialog-confirm-auth" ).dialog({
                show: 'fade',
                hide:'fade',
                resizable: false,
                draggable: false,
                width:700,
                modal: true,
               
                buttons: {
                "Se créer un compte": function() {
                    location.href = "creation_compte.php";
                },
                "Fermer": function() {
                $(".ui-dialog-titlebar").append("");
                   location.reload() ; 
                }
                
                }
                
                });
                $(".ui-dialog-titlebar").append("<img class='popup-image' src='asset/image/user.png' width='50px' style='float:left'/>");
              
            });



